package com.cl.base.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cl.base.entity.SysRoleMenu;
import com.cl.base.service.SysRoleMenuService;
import com.cl.base.mapper.SysRoleMenuMapper;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.List;

/**
 * @author KuroNeko
 * @description 针对表【sys_role_menu(角色菜单表)】的数据库操作Service实现
 * @createDate 2022-07-01 17:47:07
 */
@Service
public class SysRoleMenuServiceImpl extends ServiceImpl<SysRoleMenuMapper, SysRoleMenu> implements SysRoleMenuService {

    @Override
    public List<SysRoleMenu> findByRoleIds(Collection<Long> roleIds) {
        return this.baseMapper.findByRoleIds(roleIds);
    }
}




